FROM openjdk:11-jdk

MAINTAINER zhenghaibin <1208879039@qq.com>

ENV MODULE gateway

RUN mkdir /$MODULE
WORKDIR /$MODULE
COPY /target/$MODULE.jar /$MODULE/$MODULE.jar
ENTRYPOINT java -jar /$MODULE/$MODULE.jar
EXPOSE 1025
